<template>
    <div>{{ msg }}</div>
</template>
<script>
export default{
        data(){
            return{
                msg : "我的"
            }
        },
        beforeRouteEnter(){
            
        },
        mounted(){
            if(!(localStorage.getItem("token"))){
                this.$router.history.push('/login');
            }
            // console.log(localStorage);
        }
    }
</script>
<style lang="scss" scoped>
</style>